﻿//*** Guidance generated code ***//
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Runtime.Serialization;

using ProjectBase.Core;

namespace ProjectBase.Mvc.Views
{
    [Serializable]
    [DataContract]
    public class JRow
    {
        #region members
        IList<JRowCell> _cell = new List<JRowCell>();
        IList<JRowCell> _delete = new List<JRowCell>();
        IList<JRowCell> _edit = new List<JRowCell>();
        IList<JRowCell> _remove = new List<JRowCell>();
        #endregion members

        [DataMember(EmitDefaultValue = false)]
        public virtual string ID { get; set; }

        [DataMember(EmitDefaultValue = false)]
        public virtual string Url { get; set; }

        [DataMember(Name = "Upd")]
        public virtual IList<JRowCell> Edit
        {
            get { return _edit; }
            set { _edit = value; }
        }

        [DataMember(Name = "Cell")]
        public virtual IList<JRowCell> Cells
        {
            get { return _cell; }
            set { _cell = value; }
        }

        [DataMember(Name = "Del")]
        public virtual IList<JRowCell> Delete
        {
            get { return _delete; }
            set { _delete = value; }
        }

        [DataMember(Name = "Rem")]
        public virtual IList<JRowCell> Remove
        {
            get { return _remove; }
            set { _remove = value; }
        }
    }
}